package com.jiangyg.devtools.entity.code;

import com.jiangyg.devtools.ui.table.Column;

import java.io.Serializable;

import static com.jiangyg.devtools.ui.table.Column.Type.CheckBox;
import static com.jiangyg.devtools.ui.table.Column.Type.EditorTextField;

/**
 * 类描述：代码文件信息
 *
 * @author jiangyg
 * @date 2023-09-02
 */
public class CodeFile implements Serializable {

    /**
     * 选中
     */
    @Column(title = "选中", type = CheckBox)
    private boolean selected;

    /**
     * 文件名称
     */
    @Column(title = "文件名称")
    private String fileName;

    /**
     * 文件内容
     */
    @Column(title = "文件内容", type = EditorTextField)
    private String fileContent;

    /**
     * 生成文件地址
     */
    @Column(title = "生成文件地址")
    private String filePath;

    public CodeFile() {
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileContent() {
        return fileContent;
    }

    public void setFileContent(String fileContent) {
        this.fileContent = fileContent;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

}
